<?php

namespace JLPay\Models\BaseData;

use JLPay\Models\BaseResponse;

/**
 * 分支行信息查询响应
 */
class BankBranchListResponse extends BaseResponse
{
    protected ?int $limit = null;
    protected ?int $offset = null;
    protected ?int $total = null;
    protected ?array $data = null;

    /**
     * 获取每页记录数
     *
     * @return int|null
     */
    public function getLimit(): ?int
    {
        return $this->limit;
    }

    /**
     * 获取偏移量
     *
     * @return int|null
     */
    public function getOffset(): ?int
    {
        return $this->offset;
    }

    /**
     * 获取总记录数
     *
     * @return int|null
     */
    public function getTotal(): ?int
    {
        return $this->total;
    }

    /**
     * 获取数据
     *
     * @return array|null
     */
    public function getData(): ?array
    {
        return $this->data;
    }
} 